package com.ouc.openplatform.zykt.standardManage.service;


import com.ouc.openplatform.zykt.standardManage.dto.NJ_TestBOMDTO;

import io.terminus.pampas.client.Export;

public interface NJ_ClientTestBOMService {
	
	@Export(paramNames = {})
	public Object getAllTestBOM();//查找所有BOM
	
	@Export(paramNames = {"pd_type","test_type","test_grade","venture","area"})
	public Object getTestBOMByCondition(String pd_type, String test_type,String test_grade,
			String venture,String area);//按条件查找BOM
	
	@Export(paramNames = {"page","rows"})
	public Object searchAllTestBOM(String page,String rows);//查找所有BOM
	
	@Export(paramNames = {"pd_type","test_type","test_grade","venture","area","page","rows"})
	public Object searchTestBOMByCondition(String pd_type, String test_type,
			String test_grade,String venture,String area,String page,String rows);//按条件查找BOM
	
	@Export(paramNames = {"testBOMDTO"})
	public int insertTestBOM(NJ_TestBOMDTO testBOMDTO);//增加BOM
	
	@Export(paramNames = {"testBOMDTO"})
	public int editTestBOM(NJ_TestBOMDTO testBOMDTO);//修改BOM
	
	@Export(paramNames = {"id"})
	public int deleteTestBOM(int id);//删除BOM
	
//	@Export(paramNames = {})
//	public Object getAllTestBOM();
	
	@Export(paramNames = {})
	public Object getAllTestStandardUnion();//查找所有标准信息
	
	@Export(paramNames = {"template_id","item_id"})
	public Object getAllTestStandardUnionByCondition(int template_id,int item_id);//按条件查找所有标准信息
	
	@Export(paramNames = {"template_name","item_name"})
	public Object getAllTestStandardUnionByNames(String template_name,String item_name);//按条件查找所有标准信息
}
